package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 订单流水中间表对象 other_trade_bill_mid
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("订单流水中间表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "other_trade_bill_mid")
public class OtherTradeBillMidEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 产品名称
	 */
	@ApiModelProperty("产品名称")
	private String prodName;

	/**
	 * 商户订单号
	 */
	@ApiModelProperty("商户订单号")
	private String outTradeNo;

	/**
	 * 支付流水号
	 */
	@ApiModelProperty("支付流水号")
	private String tradeNo;

	/**
	 * 业务类型(01:支付;02:退费;)
	 */
	@ApiModelProperty("业务类型(01:支付;02:退费;)")
	private String busType;

	/**
	 * 付款账户
	 */
	@ApiModelProperty("付款账户")
	private String payAcc;

	/**
	 * 交易金额
	 */
	@ApiModelProperty("交易金额")
	private Double tradeAmt;

	/**
	 * 交易时间
	 */
	@ApiModelProperty("交易时间")
	private Date tradeTime;

	/**
	 * 支付方式
	 */
	@ApiModelProperty("支付方式")
	private String payType;

}
